import { version } from '../../package.json'

// base info
export const name = 'WEMIRR-PLATFORM'
export const site = 'https://docs.battcn.com/'
export const logo = 'https://docs.battcn.com/assets/logo.png'
export const keywords = 'wemirr-platform、battcn、唐亚峰、wemirr-platform-ui、开源、saas'
export const description = '一站式微服务内容平台，包括学习路线、知识体系，海量面试问题解答，一站式阅读体验，跟随前沿技术，深度和广度学习，Spring Boot 和 Spring Cloud 生态。'
export const github = 'https://github.com/battcn/wemirr-platform'
// social link
export const bilibili = 'https://space.bilibili.com/'

// docs version
export const docsVersion = version

/* PWA runtime caching urlPattern regular expressions */
/* eslint-disable prefer-regex-literals */
export const githubSourceContentRegex = new RegExp('^https://(((raw|user-images|camo).githubusercontent.com))/.*', 'i')
export const googleFontRegex = new RegExp('^https://fonts.googleapis.com/.*', 'i')
export const googleStaticFontRegex = new RegExp('^https://fonts.gstatic.com/.*', 'i')
export const jsdelivrCDNRegex = new RegExp('^https://cdn.jsdelivr.net/.*', 'i')
